package org.ali.service.impl;

import org.ali.entity.TestObject;
import org.ali.service.TestService;
import org.ali.util.TestUtil;

public class TestServiceImpl implements TestService {
    private TestObject testObject;

    public void setTestObject(TestObject testObject) {
        this.testObject = testObject;
    }

    @Override
    public void test1(String str) {
        System.out.println(str);
        testObject.setName(str);
    }

    @Override
    public void test2() {
        System.out.println(testObject.getName());
        System.out.println(TestUtil.getStr());
    }
}
